.outer {
  background-color: #f5f5f5;
}

.main {
  display: flex;
  flex-direction: row;
  width: 1000px;
  height: 422px;
  border: solid 1px #aaa;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  padding: 25px;
}

.picture {
  width: 370px;
  height: 370px;
  img {
    width: 370px;
    height: 370px;
    border-radius: 3px;
  }
}

.detailblock {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  margin-left: 10px;
}

.rowname {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 550px;
  margin-left: 10px;
  margin-top: 5px;
  .bookname {
    margin: 0px;
    font-size: 26px;
    font-weight: 600;
  }
  .degree {
    margin: 0px;
    color: blue;
    font-size: 20px;
    font-weight: 500;
  }
  .rowdegree {
    display: flex;
    flex-direction: row;
  }
  .degreelabel {
    margin-top: 5px;
  }
}

.publisher {
  margin: 0px;
  margin-left: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 18px;
  font-weight: 500;
}

.description {
  margin: 0px;
  margin-left: 15px;
  width: 550px;
  height: 120px;
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
  color: #666;
}

.rowprice {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 550px;
  .price {
    margin: 0px;
    color: red;
    font-size: 24px;
    margin-left: 15px;
  }
  .type {
    margin: 0px;
    font-size: 600;
    font-size: 20px;
  }
}

.buy {
  width: 200px;
  height: 45px;
  font-size: 19px;
  background-color: rgb(219, 46, 46);
  color: #fff;
  margin-top: 10px;
  margin-left: 350px;
  padding: 0px;
  border: solid blueviolet 1px;
  border-radius: 5px;
}

.buy:hover {
  background-color: rgb(219, 46, 46);
  color: #fff;
}

.time {
  font-size: 16px;
  color: blueviolet;
  margin-left: 10px;
  margin-top: 10px;
}
